def cola_supplement():
    # 客人的偏好列表
    guest_preferences = [
        ["可口可乐", "零度可乐", "健怡可乐", "芬达"],
        ["百事可乐", "零度可乐", "健怡可乐"],
        ["可口可乐", "百事可乐", "芬达"],
        ["零度可乐", "芬达", "健怡可乐"],
        ["可口可乐", "百事可乐", "健怡可乐"]
    ]
    # 冰箱里已有的可乐数量
    existing_colas = {"可口可乐": 10, "百事可乐": 2, "零度可乐": 0, "芬达": 6, "健怡可乐": 4}
    # 初始化需要补充的可乐数量
    needed_colas = {cola: 0 for cola in existing_colas}

    # 遍历每位客人的偏好
    for preferences in guest_preferences:
        available = False
        for cola in preferences:
            if existing_colas[cola] > 0:
                existing_colas[cola] -= 1
                available = True
                break
        if not available:
            for cola in preferences:
                needed_colas[cola] = max(needed_colas[cola], 1 - existing_colas[cola])
    return needed_colas